<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择器权重</title>
		<style>
			#d1{
				background-color: #ff0000;
			}
			.d{
				background-color: #ffaa00;
			}
			.d:hover{
				background-color: #00ffff;
			}
			div{
				background-color: #55ff00;
			}
			*{
				background-color: #ffaaff;u
			}
		</style>
	</head>
	<body>
		<div id="d1" class="d" style="background-color: red;">Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero qui expedita quod dolor exercitationem ipsam corporis blanditiis explicabo molestias ea harum non quas numquam impedit, at natus soluta facilis labore!</div>
	</body>
</html>